package com.yyx.lgb.manager.service;

import com.github.pagehelper.PageInfo;
import com.yyx.lgb.model.dto.product.CategoryBrandDto;
import com.yyx.lgb.model.entity.product.Brand;
import com.yyx.lgb.model.entity.product.CategoryBrand;

import java.util.List;

/**
 * ClassName: CategoryBrandService
 * Package: com.yyx.lgb.manager.service
 * Description:
 *
 * @Author: yyx
 * @Create: 2025/8/7 - 10:20
 */
public interface CategoryBrandService {
    PageInfo<CategoryBrand> findByPage(Integer page, Integer limit, CategoryBrandDto categoryBrandDto);

    void save(CategoryBrand categoryBrand);

    void updateById(CategoryBrand categoryBrand);

    void deleteById(Long id);

    List<Brand> findBrandByCategoryId(Long categoryId);
}
